﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MyFramework
{
    public partial class CommonUtil : MonoBehaviour
    {
        /// <summary>
        /// 将参数复制到剪切板上
        /// </summary>
        /// <param name="FolderName"></param>
        public static void CopyFolderName(string FolderName)
        {
            GUIUtility.systemCopyBuffer = "QFramework_" + FolderName;
        }
        /// <summary>
        /// 复制参数到剪切板上
        /// </summary>
        /// <param name="text"></param>
        public static void CopyText(string text)
        {
            GUIUtility.systemCopyBuffer = text;
        }
    }
}